package com.ies.dx.dex.file;

import java.util.Vector;

import com.ies.dx.util.Input;

public class encoded_array extends dex_item
{
    private int size; //uleb128  
    private Vector values = new Vector(); //encoded_value 
 
    public encoded_array(dex_file file)
    {
        super(file);
    }

    public void read(Input dis)
    {
        try
        {
            size = dis.readULeb128();
            for (int i = 0; i < size ; i ++)
            {
                encoded_value v = new encoded_value(mFile);
                v.read(dis);
                values.add(v);
            }
        }
        catch (Exception e)
        {
            e.printStackTrace();
        }
    }

    @Override
    public void readData(Input dis)
    {
        // TODO Auto-generated method stub
        
    }

    @Override
    public void show()
    {
        // TODO Auto-generated method stub
        
    }

    @Override
    public String getData()
    {
        // TODO Auto-generated method stub
        return null;
    }
}
